package com.ctshk.common.dto.strategy;

import java.io.Serializable;
import java.math.BigDecimal;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@ApiModel("加幅规则金额相关dto")
public class StrategyRuleAmountDto implements Serializable {
	private static final long serialVersionUID = 1L;
	
	@ApiModelProperty("增减类型，1：加数值；2：百分比；")
    protected Integer adjustType;

	@ApiModelProperty("金额")
	protected BigDecimal amount;

	public StrategyRuleAmountDto(Integer adjustType, BigDecimal amount) {
		this.adjustType = adjustType;
		this.amount = amount;
	}
}
